package com.ruoyi.project.jiaqin.companyrecruit.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.jiaqin.company.domain.Company;
import com.ruoyi.project.jiaqin.region.domain.Region;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 企业招聘对象 company_recruit
 *
 * @author admin
 * @date 2021-01-13
 */
public class CompanyRecruit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 公司ID */
    @Excel(name = "公司ID")
    private String companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    private Company company;

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    /** 招聘标题 */
    @Excel(name = "招聘标题")
    private String title;

    /** 最高薪资 */
    @Excel(name = "最高薪资")
    private Long salaryMax;

    /** 最低薪资 */
    @Excel(name = "最低薪资")
    private Long salaryMin;

    /** 薪资单位 */
    @Excel(name = "薪资单位")
    private String salaryUnit;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long views;

    /** 行业ID */
    @Excel(name = "行业ID")
    private String industry;

    /** 工作省份ID */
    @Excel(name = "工作省份ID")
    private Long province;

    private Region provinces;

    /** 工作城市ID */
    @Excel(name = "工作城市ID")
    private Long city;

    private Region citys;

    /** 工作区县ID */
    @Excel(name = "工作区县ID")
    private Long area;

    /** 学历要求 */
    @Excel(name = "学历要求")
    private String education;

    /** 经验要求 */
    @Excel(name = "经验要求")
    private String experience;

    /** 招聘人数 */
    @Excel(name = "招聘人数")
    private Long peoNum;

    /** 职位详情 */
    @Excel(name = "职位详情")
    private String info;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 状态0-已发布1-已结束2-已驳回 */
    @Excel(name = "状态0-已发布1-已结束2-已驳回")
    private Integer status;

    /** 省 */
    private String provinceName;
    /** 市 */
    private String cityName;
    /** 区 */
    private String areaName;
    /** 用户头像 */
    private String headpic;

    public String getHeadpic() {
        return headpic;
    }

    public void setHeadpic(String headpic) {
        this.headpic = headpic;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Region getProvinces() {
        return provinces;
    }

    public void setProvinces(Region provinces) {
        this.provinces = provinces;
    }

    public Region getCitys() {
        return citys;
    }

    public void setCitys(Region citys) {
        this.citys = citys;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCompanyId(String companyId)
    {
        this.companyId = companyId;
    }

    public String getCompanyId()
    {
        return companyId;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setSalaryMax(Long salaryMax)
    {
        this.salaryMax = salaryMax;
    }

    public Long getSalaryMax()
    {
        return salaryMax;
    }
    public void setSalaryMin(Long salaryMin)
    {
        this.salaryMin = salaryMin;
    }

    public Long getSalaryMin()
    {
        return salaryMin;
    }
    public void setSalaryUnit(String salaryUnit)
    {
        this.salaryUnit = salaryUnit;
    }

    public String getSalaryUnit()
    {
        return salaryUnit;
    }
    public void setViews(Long views)
    {
        this.views = views;
    }

    public Long getViews()
    {
        return views;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setProvince(Long province)
    {
        this.province = province;
    }

    public Long getProvince()
    {
        return province;
    }
    public void setCity(Long city)
    {
        this.city = city;
    }

    public Long getCity()
    {
        return city;
    }
    public void setArea(Long area)
    {
        this.area = area;
    }

    public Long getArea()
    {
        return area;
    }
    public void setEducation(String education)
    {
        this.education = education;
    }

    public String getEducation()
    {
        return education;
    }
    public void setExperience(String experience)
    {
        this.experience = experience;
    }

    public String getExperience()
    {
        return experience;
    }
    public void setPeoNum(Long peoNum)
    {
        this.peoNum = peoNum;
    }

    public Long getPeoNum()
    {
        return peoNum;
    }
    public void setInfo(String info)
    {
        this.info = info;
    }

    public String getInfo()
    {
        return info;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("title", getTitle())
            .append("salaryMax", getSalaryMax())
            .append("salaryMin", getSalaryMin())
            .append("salaryUnit", getSalaryUnit())
            .append("views", getViews())
            .append("industry", getIndustry())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("education", getEducation())
            .append("experience", getExperience())
            .append("peoNum", getPeoNum())
            .append("info", getInfo())
            .append("phone", getPhone())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("status", getStatus())
            .toString();
    }
}
